package com.landmesure.utils;

import java.text.ParseException;

public interface PropertyBuilder {
    short[] buildProperty(int code, int len, String value) throws Exception;

    String translateData(byte[] datas, int len, int offset) throws Exception;

    String encode(String pvalue, int length) throws Exception;

    String decode(String pdata, int length) throws Exception;

    Object parseValue(String pvalue) throws ParseException;

    PropertyBuilderOfDateTime DatetimeBuilder = new PropertyBuilderOfDateTime();
    PropertyBuilderOfFloat FloatBuilder = new PropertyBuilderOfFloat();
    PropertyBuilderOfInteger IntegerBuilder = new PropertyBuilderOfInteger();
    PropertyBuilderOfTime TimeBuilder = new PropertyBuilderOfTime();
    PropertyBuilderOfBoolean BooleanBuilder = new PropertyBuilderOfBoolean();
    PropertyBuilderOfAsc AscBuilder = new PropertyBuilderOfAsc();


}
